package sm.upgrade.api;

import java.util.List;

import sm.upgrade.util.KeyValueChangePolicy;
import sm.util.SMMap;

public interface BatchDataUpgradeService {
	public void upgradeData(String fileName, List<SMMap> upgradeList,
			List<String> fieldPaths, List<String> skippedList,
			KeyValueChangePolicy keyValueChangePolicy,
			DataUpgradeInterceptor interceptor, DataService upgradeDataService,
			String[] keyPaths, String[] joinedArrayPaths,
			boolean isBaseQueryable, DataService baseDataService,
			boolean useBaseKey, String[] baseKeyPaths,
			String[] baseJoinedArrayPaths);

	public void showConflict(String fileName, List<SMMap> upgradeList,
			List<String> fieldPaths, List<String> skippedList,
			KeyValueChangePolicy keyValueChangePolicy,
			DataService upgradeDataService, String[] keyPaths,
			String[] joinedArrayPaths, boolean isBaseQueryable,
			DataService baseDataService, boolean useBaseKey,
			String[] baseKeyPaths, String[] baseJoinedArrayPaths);
}
